package com.ozo.easy.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * 通知视图对象
 *
 * @author ozo
 * @version 1.0
 * @date 2025-02-06 16:35:26
 */
@Data
@Schema(description = "通知视图对象")
public class SysNoticeVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "通知类型")
    private String noticeType;

    @Schema(description = "通知类型描述")
    private String noticeTypeDesc;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "是否发布")
    private Boolean publishFlag;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

}
